[Top] [Prev] [Next] [Bottom] [Contents]

SaSetApiMaxNum

Sets the amount of requests that a Sapphire generated application server will handle before exiting. This is ignored if any session affinity is being held. This function call is inserted automatically from the project option AppServer | Max Requests.

Synopsis

#include "SaRnHtml.h"
int SaSetApiMaxNum SUTPROTO((int maxnum));

Arguments

maxnum
Number indicating the amount of requests that a Sapphire generated application server will handle before exiting. This is ignored if any session affinity is being held.

Return Values

Returns the integer value "0".

Description

Sets the amount of requests that a Sapphire generated application server will handle before exiting. This is ignored if any session affinity is being held. No change is made if the value is less than 2. The default value is 250. This function call is inserted automatically from the project option AppServer | Max Requests.

Example

SaSetApiMaxNum(100);
Note: This call is generated automatically by Sapphire/Web in the main C file, with the value being the value of the AppServer | Max Requests option.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.